package org.jeecg.modules.demo.pubuyorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.demo.entity.PuContract;
import org.jeecg.modules.demo.expenseAllocation.entity.FeiYongVo;
import org.jeecg.modules.demo.expenseAllocation.entity.YxExpenseAllocation;
import org.jeecg.modules.demo.puInvoice.entity.PuInvoice;
import org.jeecg.modules.demo.pubuyorder.entity.PuBuyOrder;
import org.jeecg.modules.demo.pusettlement.entity.PuSettlement;

import java.util.List;
import java.util.Map;

/**
 * @Description: pu_buy_order
 * @Author: jeecg-boot
 * @Date:   2021-11-24
 * @Version: V1.0
 */
public interface IPuBuyOrderService extends IService<PuBuyOrder> {
        public String getMaxCode();
        public PuContract getContractByNumber(String num);
        public PuBuyOrder getPuBuyOrderByHetbh(String hetid);
        public List<PuBuyOrder>  getOrderList(String parameter);
        public List<Map<String,Double>>  getDingDan(String str);
        public List<PuSettlement>  getJieSuan(String str);
        public List<Map<String,Double>>  getZhiJian(String str);
        public List<Map<String,Double>>  getRuKu(String str);
        public List<PuInvoice>  getFaPiao(String str);
        public List<PuInvoice> getYuKaiFaPiao(String str);
        public List<Map<String,Double>>  getFuKuan(String str);
        public List<YxExpenseAllocation> getYuFuKuan(String str);
        public List<FeiYongVo> getFeiYong(String str);
        public PuBuyOrder getByNumber(String str);
        public Map<String,Double> getNumAndMoeny();
        public Map<String,Double> getSaleOrderNumByMoney();
        public String getTeantName(Integer str);
        public String getTeantCodeById(Integer str);
        public Map<String,Double> getCgMonthData();
        public Map<String,Double> getXsMonthData();
        public Map<String,Double> getFkMonthData();
        public Map<String,Double> getSkMonthData();

        public Map<String,Double> getCgYearData(String tenantId);
        public Map<String,Double> getXsYearData();
        public Map<String,Double> getFkYearData();
        public Map<String,Double> getSkYearData();

        public Map<String,Double>  getOrderQuantity(String beginTime,String endTime);
        public Map<String,Double>  getQualityIQ(String beginTime,String endTime);
        public Map<String,Double>  getSettlementVolume(String beginTime,String endTime);
        public Map<String,Double>  getInvoiceQuantity(String beginTime,String endTime);
}
